<script setup>

import {ref} from 'vue'
const active = ref(2);
</script>
<template>
  <header style="padding-top:2rem;">
    <div style="width: 350px ; ">
      <van-cell-group style="margin-left: 0; ">
        <van-row>
          <van-col span="24">
            <van-nav-bar style="margin-left: 0 ; background-color: rgb(218, 218, 218); " title="待收货" left-text="返回"
              left-arrow @click-left="onClickLeft" span="24" />
          </van-col>
        </van-row>
      </van-cell-group>
    </div>
  </header>
  <nut-empty description="还没下单呢，快去下单吧"></nut-empty>
  <br>
  <van-divider>猜你喜欢</van-divider>
   <div>
  <van-cell-group style="margin-left: 0px; " >
    <van-grid :border="false" :column-num="2" :gutter="25" style="background-color:  #f7f4f4;" square>
      <van-grid-item  text="2023年新款包女款,九成新" style="color: black;background-color: #f1eeee; margin-top: 23px;">
        <van-image class="van-image"
          src="https://img2.baidu.com/it/u=3748838496,1744985905&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=667" />
        <van-cell style="font-size: 10px;color: black;">2023年新款包女款,九成新</van-cell>
      </van-grid-item>
      <van-grid-item style=" margin-top: 23px;background-color: #f1eeee;">
        <van-image class="van-image" src="https://img1.baidu.com/it/u=1728829475,3125432430&fm=253&fmt=auto&app=138&f=JPEG?w=899&h=500" />
        <van-cell style="font-size: 10px;color: black;">iPhone 14 九成新</van-cell>
      </van-grid-item>
      <van-grid-item>
        <van-image class="van-image" src="https://img1.baidu.com/it/u=3083854165,3692262900&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500" />
        <van-cell style="font-size: 10px;color: black;">gucci包女款仅试</van-cell>
      </van-grid-item>
      <van-grid-item>
        <van-image class="van-image" src="https://img1.baidu.com/it/u=191716430,4124966951&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500" />
        <van-cell style="font-size: 10px;color: black;">gucci手链,九成新</van-cell>
      </van-grid-item>
      <van-grid-item>
        <van-image class="van-image" src="https://img1.baidu.com/it/u=2174409472,4021311892&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=375" />
        <van-cell style="font-size: 10px;color: black;">Dior香水,仅试闻 </van-cell>
      </van-grid-item>
      <van-grid-item>
        <van-image class="van-image" src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fsafe-img.xhscdn.com%2Fbw1%2F4b4e0600-ea87-48ff-bad6-542259e1d33e%3FimageView2%2F2%2Fw%2F1080%2Fformat%2Fjpg&refer=http%3A%2F%2Fsafe-img.xhscdn.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1702038235&t=738491eeeaf8e7687ba8f50282a9f36c" />
        <van-cell style="font-size: 10px;color: black;">Dior新款包，九成新</van-cell>
      </van-grid-item>
    </van-grid>
  </van-cell-group>

  </div> 
</template>
<style scoped>
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  line-height: 1.5;
  max-height: 100vh;
}


header {
  line-height: 1.5;
  max-height: 100vh;
}


nav {
  width: 100%;
  font-size: 12px;
  text-align: center;
  margin-top: 2rem;
}

nav a.router-link-exact-active {
  color: var(--color-text);
}

nav a.router-link-exact-active:hover {
  background-color: transparent;
}

nav a {
  display: inline-block;
  padding: 0 1rem;
  border-left: 1px solid var(--color-border);
}

nav a:first-of-type {
  border: 0;
}

@media (min-width: 1024px) {
  header {
    display: flex;
    place-items: center;
    padding-right: calc(var(--section-gap) / 2);
  }


  header .wrapper {
    display: flex;
    place-items: flex-start;
    flex-wrap: wrap;
  }

  nav {
    text-align: left;
    margin-left: -1rem;
    font-size: 1rem;
    padding: 1rem 0;
    margin-top: 1rem;
  }
}

.van-field {
  /* 调整每一行边距 */
  padding: 16px 15px;
}

.van-nav-bar {
  color: #d4e09f;
  width: 100%;
}

.full-width-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px;
  /* 根据需要调整 */
}

.van-image {
  height: 50px;
  width: 50px;
}
</style>
